Works for any start/end size