Wrote documentation for all max position bounding function