fix: node size calculation limits
Addition of calculation limits to the size of the notes in the map so that it doesn't go beyond the specific maximum size. Right now it is hardcoded but eventually should be polished and make it more dynamic somehow.